package com.yuehuanghun.framework.exception;

import org.springframework.http.HttpStatus;

public class NotFoundException extends PlatformException{
	private static final long serialVersionUID = 1257862372081037255L;

	public NotFoundException(){
		super();
	}
	
	public NotFoundException(int code, String message){
		super(code, message);
	}
	
	/**
	 * code = 404
	 * @param message
	 */
	public NotFoundException(String message){
		super(HttpStatus.NOT_FOUND.value(), message);
	}
}
